package com.epalmpay.service.activity;


import com.epalmpay.enumdef.ActivityEnum;
import com.epalmpay.enumdef.CommonEnum;

import java.text.ParseException;
import java.util.List;
import java.util.Map;

public interface ICouponUserService {
	
	//批量发卷
//	void saveCoupon(CouponInDTO couponInDTO) throws Exception;

	//给单个会员发优惠券(手动事物)
	public int sendOneMemberCoupon(Long memberId,Long couponId,Long activityId,Integer getType, Long relatedTradeOfflineId) throws Exception;
	//给单个会员发优惠券
	public int sendOneMemberCoupon(Long memberId,Long couponId,Long activityId,Integer getType,String memo, Long relatedTradeOfflineId) throws Exception;

	//获取会员可用优惠券
	List<Map<String, Object>> listUserCouponsInfo(Long memberId, Long goodOrShopId, Integer tradeMoney,
												  ActivityEnum.ActivityPlatformType activityPlatformType, CommonEnum.GoodType goodType) throws ParseException;


	
}
